package org.jeecg.modules.basic.supplier.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.basic.supplier.entity.BasicSupplier;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: 供应商信息
 * @Author: jeecg-boot
 * @Date:   2023-07-25
 * @Version: V1.0
 */
public interface IBasicSupplierService extends IService<BasicSupplier> {

    /**
     * 导入
     * @param request
     */
    Result<String> importExcel(HttpServletRequest request);

    /**
     * 分页
     * @param page
     * @param unit
     * @return
     */
    Page<BasicSupplier> pageSupplier(Page<BasicSupplier> page, BasicSupplier unit);

}
